package org.example.examfx02.entity;

public class Admin extends User{
    // 单例模式
    private final static Admin instance = new Admin("admin","123456");
    private Admin(String username,String password){
        this.username = username;
        this.password = password;
    }
    public static Admin getInstance(){
        return instance;
    }
}
